package com.yidu.sanrenxing.crudall.service.impl;

import com.yidu.sanrenxing.crudall.dao.KeepSetServiceMapper;
import com.yidu.sanrenxing.crudall.domain.KeepSetService;
import com.yidu.sanrenxing.crudall.service.KeepSetServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class KeepSetServiceServiceImpl implements KeepSetServiceService {
    @Autowired
    KeepSetServiceMapper keepSetServiceMapper;
    @Override
    public List<KeepSetService> selectAll() {
        return keepSetServiceMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(int keepid) {
        return keepSetServiceMapper.deleteByPrimaryKey(keepid);
    }

    @Override
    public int insert(KeepSetService record) {
        return keepSetServiceMapper.insert(record);
    }

    @Override
    public int insertSelective(KeepSetService record) {
        return keepSetServiceMapper.insertSelective(record);
    }

    @Override
    public KeepSetService selectByPrimaryKey(int keepid) {
        return keepSetServiceMapper.selectByPrimaryKey(keepid);
    }

    @Override
    public int updateByPrimaryKeySelective(KeepSetService record) {
        return keepSetServiceMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(KeepSetService record) {
        return keepSetServiceMapper.updateByPrimaryKey(record);
    }
}
